<?php
include_once 'dblib/dblib.php';
include_once 'buslibs/categories.php';

$categories=read_categories();

if($categories)
foreach($categories as $cat)
    if($cat)
    echo "<a href='index.php?action=productlist&cat=$cat->idCategories' >$cat->category</a><br/>";
?>
